package com.ruyuan.process.engine.instance;

import com.ruyuan.process.engine.process.Processor;

/**
 * 流程节点实例化器
 *
 * 儒猿课堂: http://www.ruyuan2020.com
 * @Author zhonghuashishan
 * @Remark 有问题直接联系客服VX: ruyuan-1111 ，源码-笔记-技术交流群
 * @Version 1.0
 **/
public interface ProcessorInstanceCreator {

    /**
     * 创建实例
     *
     * @param className 类名称
     * @param name      节点id
     * @return 实例化对象
     */
    Processor newInstance(String className, String name) throws Exception;

}
